﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace zichan.Models
{
    public class PutAwayCode
    {
        [Required(ErrorMessage ="服务器编码不为空")]
        public string Code { get; set; }
    }
    public class OldPutAwayCode
    {
        public int Id { get; set; }
        public string Name { get; set; }
        [Required(ErrorMessage = "服务器不能为空")]
        public int ServerId { get; set; }
    }
}